<h1>User Home</h1>

 <?php 
 	if(isset($this->message)) {
 		echo '<h2>Hello '.$this->message.'!</br></h2>';
 	}	
 
 ?>

 <?
if (isset($this->roundSettingsForm)){
	echo'<h4>Begin of the game! Please select alias, class, race!</h4>';
	echo $this->roundSettingsForm;
	$this->realmValid = true;
}
?>

 

<?php 
	if(!isset($this->realmValid)) 
	{		
		echo '<a href='.$this->url(array('controller'=>'authentication', 'action'=>'logout')).'> Logout </a>';
	}
?>


<?php
if(isset($this->errorMessage)){
	echo '<h1>ERROR:</h1><br/>';
	echo $this->errorMessage;
}
?>
